home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / scale.z / scale
Encoding:
Text File  |  2002-10-03  |  1.9 KB  |  54 lines

  1. SCALE(3I)                                             Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      SSCCAALLEE - Returns (_x)(_b**_i), where _b is the base in the real number
  6.      model representation of _x
  7.  
  8. SSYYNNOOPPSSIISS
  9.      SSCCAALLEE (([XX==]_x,, [II==]_i))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, IRIX systems
  13.  
  14.      CF90, MIPSpro 7 Fortran 90
  15.  
  16. SSTTAANNDDAARRDDSS
  17.      Fortran
  18.  
  19. DDEESSCCRRIIPPTTIIOONN
  20.      The SSCCAALLEE intrinsic function returns
  21.           _i
  22.      (_x)(_b ), where _b is the base in the real number model representation
  23.      of _x.  For more information on the real number model, see the
  24.      MMOODDEELLSS(3I) man page.  It accepts the following arguments:
  25.  
  26.      _x    Must be of type real
  27.  
  28.      _i    Must be of type integer
  29.  
  30.      SSCCAALLEE is an elemental function.  The name of this intrinsic cannot be
  31.      passed as an argument.
  32.  
  33. NNOOTTEESS
  34.      This routine is implemented on CRAY T90 systems that support IEEE
  35.      arithmetic by calls to scalar-only library routines.
  36.  
  37. RREETTUURRNN VVAALLUUEESS
  38.      The result type and type parameter are the same as _x.  The result has
  39.      the value
  40.           _i
  41.      (_x)(_b ), where _b is defined in the model for real numbers representing
  42.      values of _x, provided that this result is within range.  Argument _i
  43.      should be within the range of MMIINNEEXXPPOONNEENNTT((_x)) <= _i <= MMAAXXEEXXPPOONNEENNTT((_x)).
  44.      If _i is outside this range, the results are unpredictable.
  45.  
  46. EEXXAAMMPPLLEESS
  47.      SSCCAALLEE ((33..00,, 22)) has the value 12.0 for reals.
  48.  
  49. SSEEEE AALLSSOO
  50.      MMOODDEELLSS(3I)
  51.  
  52.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  53.      man page.
  54.